package com.baselibrary;

import com.baselibrary.utils.AppUtils;

public class Constants {
    public static boolean pushOnline = false;
    //用户协议
    public static final String login_url_user_agreement = AppUtils.getSaveShareHostUrl() + "/pedia-qa-share/share.html#/agreement";
    //隐私政策
    public static final String login_url_privacy = AppUtils.getSaveShareHostUrl() + "/pedia-qa-share/share.html#/privacyAgreement";

    //动态分享h5页面
    public static final String DYNAMIC_SHARE_URL = AppUtils.getSaveShareHostUrl() + "/html/share/dynamic.html?id=";
    //话题详情页分享h5页面
    public static final String TOPIC_DETAIL_SHARE_URL = AppUtils.getSaveShareHostUrl() + "/html/share/topicDetails.html?id=";
    //讲坛分类分享h5页面
    public static final String FORUM_SHARE_URL = AppUtils.getSaveShareHostUrl() + "/html/share/forum.html?id=";
    //讲坛详情分享h5页面
    public static final String FORUM_DETAIL_SHARE_URL = AppUtils.getSaveShareHostUrl() + "/html/share/forumDetail.html?id=";
    //讲坛视频页分享h5页面
    public static final String FORUM_VIDEO_SHARE_URL = AppUtils.getSaveShareHostUrl() + "/html/share/forumVideo.html?id=";
    //专栏分享h5页面
    public static final String COLUMN_SHARE_URL = AppUtils.getSaveShareHostUrl() + "/html/share/column.html?id=";
    //专栏详情分享h5页面
    public static final String COLUMN_DETAIL_SHARE_URL = AppUtils.getSaveShareHostUrl() + "/html/share/columDetail.html?id=";
    //粉丝申请，审核状态
    public static final String FANS_GIFT_APPLY_STATUS = AppUtils.getSaveShareHostUrl() + "/html/fansCore/applicationResults.html#hiddenTitle";
    //粉丝大礼包中心
    public static final String FANS_GIFT_CORE = AppUtils.getSaveShareHostUrl() + "/html/fansCore/fansPrivilege.html#hiddenTitle";
    public static final int LIMIT_SHARE_WORD_NUM = 1000;//分享限制输入字数
    public static final int PUBLISH_IMG_MAX = 9;//最多选择图片
    public static final String KEY_SHARE_URL = "KEY_SHARE_URL";//分享域名
    public static final String KEY_CONFIG_SHOP_CART_TYPE = "KEY_CONFIG_SHOP_CART_TYPE";//购物车多店铺下单开关
    public static final String KEY_CONFIG_CCB_PAY_TYPE = "KEY_CONFIG_CCB_PAY_TYPE";//0-微信支付宝，1-建行支付	开关

    public static final int linkType_systemMsg = 1;//系统消息
    public static final int linkType_message = 2;//聊天,  唤起
    public static final int linkType_article = 3;//文章
    public static final int linkType_channel = 4;//专栏
    public static final int linkType_forum = 5;//讲坛
    public static final int linkType_tag = 6;//话题
    public static final int linkType_timeline = 7;//动态
    public static final int linkType_score = 8;//酒币
    public static final int linkType_order = 9;//订单
    public static final int linkType_comment = 10;//评论(id=评论的ID，type=评论的类型，typeId=评论的类型的ID)（使用type和typeId进入全部评论页面，使用ID定位到此评论）
    public static final int linkType_user = 11;//用户个人呢主页
    public static final int linkType_newFriend = 12;//新的朋友
    public static final int linkType_scoreLog = 13;//兑换记录
    public static final int linkType_customer = 14;//客服----不处理  唤起
    public static final int linkType_winery = 15;//酒窖
    public static final int linkType_party = 16;//约局
    public static final int linkType_forumCurosr = 17;//课程
    public static final int linkType_liveRoom = 18;//直播
    public static final int linkType_circle = 19;//圈子

    public static final String USER_INFO = "user_info";
    public static final String dictionary_key = "dictionary_info";
    public static final String str_updata = "正在上传 %s";
    public static final String str_updata_wait = "正在上传 %s/%s";
    public static final String str_download_wait = "正在下载 %s/%s";
    public static final String BuglyAppID = "0219c90857";

    public static final String TYPE_CREATE = "type_create";
    public static final String TYPE_JOIN = "type_join";
    public static final String TYPE_EXIT = "type_exit";

    public final static String Xiaomi = "Xiaomi";
    public final static String huawei = "HUAWEI";
    public final static String Meizu = "Meizu";
    public final static String KEY_PUSH_MSG = "key_push_msg";//推送的msg
    public final static String KEY_COMMENT_BEAN = "KEY_COMMENT_BEAN";//评论bean

    /*------------------------------------------分割线--------------------------------------------------------------------*/
    public static final String SEARCH_CONTENT = "search_content";//被回复人的昵称
    public static final String DATAILS_ID = "datails_id";//从待解答界面跳转到详情
    public static final String ANSWER_ID = "answer_id";//跳转回答详情，，携带回答ID
    public static final String ANSWER_MEMBERID = "answer_member_id";//跳转回答详情，，携带用户ID
    public static final String ISROLL = "roll";//回答详情，点击评论跳转到评论详情的评论区
    public static final String DATAILS_TYPE = "datails_type";//从待解答界面跳转到详情type
    public static final String DEF_SEARCH = "def_search";//默认的搜索内容
    public static final String SEARCH_HISTORY = "search_history";//搜索历史
    public static final String SEARCH_FRAGMENT_KEY = "search_value";//搜索结果跳转
    public static final String SEARCH_RESULT_KEY = "search_result";//搜索结果Key
    public static final String SEARCH_TAG_KEY = "search_tag";//搜索Tag
    public static final String WEB_ABVERT_LINK = "web_link";//H5落地页
    public static final String Comm_ID = "comm_id";//点击查看全部回复被点击用户的ID
    public static final String COMM_CONTENT = "comm_content";//点击查看全部回复被点击用户的评论内容
    public static final String COMM_RE_ANS = "comm_re_ans";//全部回复界面，携带数据回传至回答详情
    public static final String IS_COMM_RE_ANS = "is_comm_re_ans";//全部回复界面，是否进行了评论
    public static final String MEMBER_ID = "member_id";//点击查看全部回复被点击答案的用户的ID
    public static final String ALLREPLY_ANSWER_ID = "allreply_answer_id";//点击查看全部回复被点击答案ID
    public static final String QUESTION_ID = "question_id";//点击查看全部回复 该
    public static final String GESTUREIMG_URL = "gestureimg_url";//点击图片进行大图展示


    public static final int REO_DET_YESANS_VALUE = 777;//从个人主页跳转至 问题详情界面---有回答
    public static final int REO_DET_NOANS_VALUE = 776;//从个人主页跳转至 问题详情界面---无回答
    public static final int SEARCH_FRAGMENT_VALUE = 888;//搜索结果跳转
    public static final int DATAILS_TYPE_VALUE = 999;//从待解答界面跳转到详情type
    public static final int COMM_RE_ANS_CODE = 666;//全部回复界面，携带数据回传至回答详情
    public static final int SHARE_QQ = 0;//QQ分享
    public static final int SHARE_QQZONE = 1;//QQ空间分享
    public static final int SHARE_WX = 2;//微信分享
    public static final int SHARE_WXZONE = 3;//微信分享
    public static final int SHARE_MICROBLOG = 4;//微博分享
    public static final int SHARE_REPORT = 5;//举报

    public static final String QUESTION_SHARE_POSITION = "question";

    public static final String ANSWER_SHARE_POSITION = "answer";

    public static final String AD_SHARE_PAGE_POSITON = "ad";
    //    -----------------------------------百科-----------------------------------------------
    public static final String WIKI_ENTRYID = "wiki_entryid";//百颗详情ID
    public static final String WIKI_NOWMEMBERID = "wiki_nowmemberid";//百颗详情ID
    public static final String WIKI_PICTURE_LIST = "wiki_picture_list";//图片集合
    public static final String WIKI_PICTURE_INDEX = "WIKI_PICTURE_INDEX";//图片索引
    public static final String WIKI_PICTURE_WATERMARK = "?watermark=2";//下酒菜查看大图时，需要添加水印
    public static final String WIKI_PICTURE_INDEX_URL = "wiki_picture_index_url";//图片索引
    //  -----------------------------------商城-----------------------------------------------
    public static final String KEY_MALL_PAY_RESULT_IS_SUCC = "key_mall_pay_result_is_succ";//支付结果-是否成功
    public static final String KEY_MALL_PAY_RESULT_OID = "key_mall_pay_result_oid";//支付结果-通过oid 查询支付结果
    public static final String KEY_MALL_PAY_RESULT_IS_GIVE_COIN = "key_mall_pay_result_is_give_coin";//支付结果-支付成功后 是否送20酒币
    public static final String KEY_MALL_PAY_RESULT_POID = "key_mall_pay_result_poid";//支付结果-productOrderId 支付成功查看订单详情所需要
    public static final String KEY_MALL_PAY_RESULT_IS_NEED_CHECK = "key_mall_pay_result_is_need_check";//是否需要检查支付成功  纯酒币兑换时 为false，  oid 为 pid
    public static final String KEY_EVALUATE_LIST_SPUID = "key_evaluate_list_spuid";//评价列表 spuid 的key
    public static final String KEY_APPLY_AFTER_POID = "poId";//申请售后 获取未申请的商品列表
    public static final String KEY_APPLY_AFTER_DTO_INFO_BEAN = "info_bean";//申请售后 获取未申请的商品列表,的商品下标
    public static final String KEY_APPLY_AFTER_RESTART = "restart_apply";//重新申请
    public static final String KEY_APPLY_AFTER_RESTART_DES = "KEY_APPLY_AFTER_RESTART_DES";//重新申请,描述
    public static final String KEY_APPLY_AFTER_RESTART_REASON = "KEY_APPLY_AFTER_RESTART_reason";//重新申请,原因
    public static final String KEY_APPLY_AFTER_RESTART_IMG = "KEY_APPLY_AFTER_RESTART_IMG";//重新申请,tupian
    public static final String KEY_ORDER_STATUS = "KEY_ORDER_STATUS";//订单状态
    public static final String KEY_DYNAMIC_TYPE = "KEY_DYNAMIC_TYPE";//动态类型
    public static final String KEY_TOPIC_ID = "KEY_TOPIC_ID";//话题ID
    public static final String KEY_COLLECT_TYPE = "KEY_COLLECT_TYPE";//收藏类型
    public static final String KEY_COLLECT_TYPE_ID = "KEY_COLLECT_TYPE_ID";//收藏类型ID
    public static final String KEY_COLLECT_USER_ID = "KEY_COLLECT_USER_ID";//用户ID
    public static final String KEY_CHANNEL_ID = "KEY_CHANNEL_ID";//频道ID
    public static final String KEY_CHANNEL_NAME = "KEY_CHANNEL_NAME";//频道ID
    public static final String KEY_SEARCH_RECOMMEND = "KEY_SEARCH_RECOMMEND";//搜索推荐
    public static final String KEY_SEARCH_RANK = "KEY_SEARCH_RANK";//搜索排行
    public static final String KEY_SEARCH_TYPE = "KEY_SEARCH_TYPE";//搜索类型
    public static final String KEY_SEARCH_KEYWORD = "KEY_SEARCH_KEYWORD";//搜索关键字
    public static final String KEY_SEARCH_ALL_JSON = "KEY_SEARCH_ALL_JSON";//搜索全部JSON
    //大图模式
    public static final String WIKI_IMGPAGER_TYPE = "wiki_imgpager_type";//
    //选择地址 code
    public static final int KEY_SELECT_ADDRESS = 1000;//
    public static final int KEY_NO_ADDRESS_ADD_ADDRESS = 2;//无地址，新增地址

    public static final String SHARE_POSTER_BEAN = "share_poster_bean";//海报分享传值

    public static final String SHARE_POSTER_IMAGES = "share_poster_images";//海报分享传值

    public static final String SHARE_POSTER_ACTIVITY_NAME = "share_poster_activity_name";//海报分享传值2

    public static final String SHARE_POSTER_BAG_NAME = "share_poster_bag_name";//海报分享传值3


    //多个商品
    public static final int TYPE_MANY = 0;
    //单个商品
    public static final int TYPE_SINGLE = 1;

    public static final String KEY_ACTIVE_POP_BEAN = "KEY_ACTIVE_POP_BEAN";
    public static final String KEY_ACTIVE_POP_COVERURL = "KEY_ACTIVE_POP_COVERURL";
    public static final String KEY_ACTIVE_POP_GID = "KEY_ACTIVE_POP_GID";
    public static final String KEY_ACTIVE_POP_ID = "KEY_ACTIVE_POP_ID";
    public static final String KEY_ACTIVE_POP_TID = "KEY_ACTIVE_POP_TID";
    public static final int KEY_SELECT_ADDRESS_TYPE_ORDER_CHANGE_ONLY_ONE = 100;//订单详情 修改地址
    public static final String KEY_ADDRESS_ID = "key_address_id";


    //  -----------------------------------素材库-----------------------------------------------
    public static final String KEY_DOCUMENT_BEAN = "document_url";
    public static final String KEY_SWITCH_POS = "key_switch_pos";//下载列表 两个tab 切换
    public static final String VIDEO_URL = "videoUrl";


    public static  String document_web_login = AppUtils.getSaveShareHostUrl() + "/html/activity/20210308/login.html";//公文系统登录
    public static  String document_web_Home = AppUtils.getSaveShareHostUrl() + "/html/activity/20210308/indexWrap.html";//公文系统首页

    public static final String COMMENT_TOP_ID = "commentId";
    public static final String WINE_MEAL_DETAILS_ID = "menuId";
    //  -----------------------------------私信好友-----------------------------------------------
    // 私信类型  1：图片 2：视频 3话题、4文章、 5直播、6 百科  7 讲坛的视频详情 8新版下酒菜
    public static final int DYNAMIC_TYPE_IMG = 1;
    public static final int DYNAMIC_TYPE_VIDEO = 2;
    public static final int DYNAMIC_TYPE_TOPIC = 3;
    public static final int DYNAMIC_TYPE_ARTICLE = 4;
    public static final int DYNAMIC_TYPE_LIVE = 5;
    public static final int DYNAMIC_TYPE_WIKI = 6;
    public static final int DYNAMIC_TYPE_BEMA_VIDEO_DETAIL = 7;
    public static final int PRIVATE_MES_TYPE_FOOD_DETAILS = 8;
    //  -----------------------------------私信好友-----------------------------------------------


    public static final int DYNAMIC_TYPE_FORUM_CLASSIFY = 8;
    //无相关文章信息
    public static final int TYPE_COLUMN_DETAIL = 9;
    //关注、粉丝、好友
    public static final int TYPE_FOLLOW_FANS_FRIEND = 10;
    //点赞。评论页
    public static final int TYPE_LIKE_COMMENT = 11;
    //下酒菜缺省也
    public static final int TYPE_WINE_MEAL = 15;
    //搜索酒窖 占位
    public static final int TYPE_SEARCH_WINECALLER = 12;
    //商品列表
    public static final int TYPE_GOOD_LIST = 13;
    //订单列表
    public static final int TYPE_ORDER_LIST = 14;
    //商品详情
    public static final int TYPE_GOODS_DETAIL = 16;
    //评价列表
    public static final int TYPE_EVALUATION_LIST = 17;
    //搜索地址
    public static final int TYPE_SEARCH_ADDRESS = 18;
    //拜访详情评论列表
    public static final int TYPE_VISIT_COMMENT_LIST = 18;
    //  -----------------------------------社区end-----------------------------------------------
    //  -----------------------------------酒窖优化start-----------------------------------------------
    //下酒菜编辑
    public static final String KEY_PRIVATE_MEAL_BEAN = "KEY_PRIVATE_MEAL_BEAN";
    //  -----------------------------------酒窖优化end-----------------------------------------------

    public static final float DYNAMIC_PICTURE_SCALE = 0.75f;//即3：4

    public static final float FOLLOW_PICTURE_SCALE = 1.33f;//即4:3

    public static final float GOODS_COVER_SCALE = 375 / 369;
    //图片链接url list
    public static final String KEY_URLS = "KEY_URLS";
    public static final String KEY_INDEX = "KEY_INDEX";
    public static final String KEY_COMMENT_CONTENT = "KEY_COMMENT_CONTENT";//大图的文本内容
    public static final String KEY_COMMENT_TITLE = "KEY_COMMENT_TITLE";//标题 的内容
    public static final String KEY_SELECT_LONG_LAT = "key_select_long_lat";//存储选择的地址的 经纬度
    public static final String KEY_WINERY_SELECT_CITY = "key_winery_select_city";//附近酒窖-选择的城市
    public static final String KEY_WINERY_SELECT_PROVINCE = "key_winery_select_province";//附近酒窖-选择的城市所属的省
    public static final String KEY_WINERY_SELECT_DETAIL_ADDRESS = "key_winery_select_detail_address";//附近酒窖-选择的详细地址
    public static final String KEY_WINERY_SELECT_ADRES = "key_winery_select_adres";//附近酒窖-选择的地址(只记录当前选择的)


    public static final int HANDLER_WHAT_CODE = 0x11;
    //  -----------------------------------新零售start-----------------------------------------------
    //确认订单--单个商品
    public static final int TYPE_CONFIRM_ORDER_GOOD_SINGLE = 1;
    //确认订单--多个商品
    public static final int TYPE_CONFIRM_ORDER_GOOD_MORE = 2;
    // 0  带复制按钮的文本  1 纯文本  2 带输入框的
    public static final int TYPE_HAVE_BUTTON = 0;
    public static final int TYPE_TXT = 1;
    public static final int TYPE_EDIT = 2;
    //key 传值 订单详情 订单id
    public static final String KEY_ORDER_ID = "poId";
    //key 物流单号
    public static final String KEY_LOGISTICS_ORDER_NUM = "poId";
    //商品详情 spuid
    public static final String GOODS_DETAIL_ID = "spuId";
    //商品详情 skuid
    public static final String GOODS_SKU_ID = "skuId";
    //商品详情 source
    public static final String GOODS_DETAIL_SOURCE = "source";
    //购物车 source
    public static final String SHOP_CART_SOURCE = "shopcartSource";
    //我的订单 type
    public static final String KEY_ORDER_TYPE = "orderType";
    public static final String KEY_ORDER_DEALER_CODE = "dealerCode";
    //商品管理-顶部提示是否关闭
    public static final String KEY_GOODS_MANAGER_TIP_IS_CLOSE = "key_goods_manager_tip_is_close";
    //搜索订单-是否经营者（true：搜索销售订单）
    public static final String KEY_SEARCH_ORDER_IS_MANAGER = "key_search_order_is_manager";
    //  -----------------------------------新零售end-----------------------------------------------
    //  -----------------------------------入库统计-----------------------------------------------
    //入库详情id
    public static final String KEY_USE_STATICS_DETAIL_ID = "id";
    public static final String KEY_USE_STATICS_DETAIL_USER_TYPE = "userType";
    public static final String KEY_USE_STATICS_LEFT_AMOUNT = "leftAmount";
    public static final String KEY_USE_STATICS_APPLY_CODE = "applyCode";
    public static final String KEY_ADD_VISIT_TYPE = "visitType";
    public static final String KEY_ADD_SHOW_TYPE = "showType";
    public static final String KEY_GUEST_NAME = "guestName";
    public static final String KEY_GUEST_PHONE = "guestPhone";
    public static final String KEY_GUEST_LEVEL = "guestLevel";
    public static final String KEY_IS_FROM_DRAFT = "isFromDraft";
    public static final String KEY_CUSTOM_LEVEL = "customLevel";
    public static final String KEY_IS_POP_COMMENT = "isPopComment";
    //申请id
    public static final String KEY_APPLY_ID = "applyId";
    public static final String KEY_CHANNEL_USER_INFO = "channelUserInfo";
    //奖品列表 ->奖品详情 传值对象
    public static final String KEY_PRIZE_DETAIL_BEAN = "KEY_PRIZE_DETAIL_BEAN";
    //当前正在播放的视频的ID
    public static final String KEY_CURRENT_PLAYING_VIDEO_ID = "KEY_CURRENT_PLAYING_VIDEO_ID";
    //当前页是否是视频页
    public static final String KEY_CURRENT_IS_VIDEO_PAGE = "KEY_CURRENT_IS_VIDEO_PAGE";
    //话题分类传参  分类id
    public static final String KEY_CLASSIFY_ID = "classifyId";

    //多宝鱼
    public static final String URL_DUOBAOYU = "activity/dby";

    public static String token = "7i1N+h4CDnENm8iak/kXjoxcZRB5ZGEpCGcFwrvF82w=";
}
